11. GPRS Commands > 11.6 AT+CGDCONT   Define PDP Context

11.6
AT+CGDCONT   Define PDP Context
Syntax
Test Command  
Response(s)
+CGDCONT: (range of supported<cid>s), <PDP_type>, , , (list of supported <d_comp>s), (list of supported <h_comp>s)
Read Command  
Response(s)
Write Command  
Response(s)
Reference(s) 
PIN 
ASC0 
ASC1 
USB 
MUX1 
MUX2 
MUX3 
Charge 
Last 
GSM 07.07

Command Description
The test command returns supported values as a compound value.
The read command returns the current settings for each defined PDP context.
The write command specifies the parameters for a PDP context identified by the context identifier <cid>. The number of contexts that may be in a defined state at the same time is given by the range returned by the test command. A special form of the write command (AT+CGDCONT=<cid>) causes the values for context <cid> to become undefined.

Parameter Description
 
<cid>(num)
PDP Context Identifier
Parameter specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands.
1...2
 
 
Packet Data Protocol type
Specifies the type of the packet data protocol.
“IP“
Internet Protocol (IETF STD 5)
 
<APN>(str)
Access Point Name
The logical name that is used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested.
 
Packet Data Protocol address
Identifies the MT in the address space applicable to PDP (e.g. IP V4 address for PDP type IP). If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested.
 
Data Compression
Controls the PDP data compression (applicable for Subnetwork Dependent Convergence Protocol (SNDCP) only) 3GPP TS 44.065
[0]
off
 
Header Compression
Controls the PDP header compression 3GPP TS 44.065, 3GPP TS 25.323
[0]
off
1
on


Notes
•
•
•
If the non volatile storage of CGDCONT settings is not activated by the AT^SCFG parameter "GPRS/Persis­tentContexts", then AT&F and ATZ will undefine every context which is not active or not online.